package com.estate.owner.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Car;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface CarService extends IService<Car> {
    JsonResult findById(String id);

    JsonResult listByPage(int page, int size);

    JsonResult addCar(Car car);

    JsonResult updateCar(Car car);

    JsonResult deleteCar(String id);

}
